/* normalize.css v3.0.0 | MIT License | git.io/normalize */
html {
    font-family: sans-serif;
    -ms-text-size-adjust: 100%;
    -webkit-text-size-adjust: 100%;
}

body {
    margin: 0
}

article, aside, details, figcaption, figure, footer, header, hgroup, main, nav, section, summary {
    display: block
}

audio, canvas, progress, video {
    display: inline-block;
    vertical-align: baseline;
}

audio:not([controls]) {
    display: none;
    height: 0
}

[hidden], template {
    display: none
}

a {
    background: transparent
}

a:active, a:hover {
    outline: 0
}

abbr[title] {
    border-bottom: 1px dotted
}

b, strong {
    font-weight: bold
}

dfn {
    font-style: italic
}

h1 {
    font-size: 2em;
    margin: .67em 0
}

mark {
    background: #ff0;
    color: #000
}

small {
    font-size: 80%
}

sub, sup {
    font-size: 75%;
    line-height: 0;
    position: relative;
    vertical-align: baseline
}

sup {
    top: -.5em
}

sub {
    bottom: -.25em
}

img {
    border: 0
}

svg:not(:root) {
    overflow: hidden
}

figure {
    margin: 1em 40px
}

hr {
    -moz-box-sizing: content-box;
    box-sizing: content-box;
    height: 0
}

pre {
    overflow: auto
}

code, kbd, pre, samp {
    font-family: monospace, monospace;
    font-size: 1em
}

button, input, optgroup, select, textarea {
    color: inherit;
    font: inherit;
    margin: 0;
}

button {
    overflow: visible
}

button, select {
    text-transform: none
}

button, html input[type="button"], * 1 */, input[type="reset"], input[type="submit"] {
    -webkit-appearance: button;
    cursor: pointer;
}

button[disabled], html input[disabled] {
    cursor: default
}

button::-moz-focus-inner, input::-moz-focus-inner {
    border: 0;
    padding: 0
}

input {
    line-height: normal
}

input[type="checkbox"], input[type="radio"] {
    box-sizing: border-box;
    padding: 0;
}

input[type="number"]::-webkit-inner-spin-button, input[type="number"]::-webkit-outer-spin-button {
    height: auto
}

input[type="search"] {
    -webkit-appearance: textfield;
    -moz-box-sizing: content-box;
    -webkit-box-sizing: content-box;
    box-sizing: content-box
}

input[type="search"]::-webkit-search-cancel-button, input[type="search"]::-webkit-search-decoration {
    -webkit-appearance: none
}

fieldset {
    border: 1px solid #c0c0c0;
    margin: 0 2px;
    padding: .35em .625em .75em
}

legend {
    border: 0;
    padding: 0;
}

textarea {
    overflow: auto
}

optgroup {
    font-weight: bold
}

table {
    text-align: center;
    border-collapse: collapse;
    border-spacing: 0
}

td, th {
    padding: 5px
}

* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box
}

body {
    font-family: 'Roboto Slab'
}

a {
    color: #ffa500;
}

a:hover {
    color: #d98c00
}

html, body, .wrapper {
    height: 100%
}

body > .wrapper {
    height: auto;
    min-height: 100%
}

.wrapper {
    padding-bottom: 50px
}

.footer {
    position: relative;
    margin-top: -50px;
    height: 50px;
    clear: both
}

.header {
    padding: 20px;
    border-bottom: 1px solid #aaa
}

.heading {
    display: inline-block;
    width: 50%
}

.head-title {
    margin: 0;
    font-size: 43px;
    text-transform: uppercase;
}

.head-title a {
    text-decoration: none
}

.head-subtitle {
    margin: 0
}

.login-form {
    width: 300px;
    float: right;
}

.login-form .login-field, .login-form .login-remember {
    display: inline-block;
    width: 140px;
    margin-bottom: 5px;
}

.login-form .login-field:first-child, .login-form .login-remember:first-child {
    margin-right: 11px
}

.login-form .login-label, .login-form .login-input {
    padding-left: 5px
}

.login-form .login-label {
    display: block;
    font-size: 12px
}

.login-form .login-input {
    font-size: 12px;
    border-width: 0 0 1px;
    border-color: #888;
    width: 100%
}

.login-form .login-remember {
    margin-right: 11px;
    height: 30px;
}

.login-form .login-remember_checkbox, .login-form .login-remember_label {
    line-height: 30px;
    vertical-align: middle
}

.login-form .login-remember_label {
    font-size: 12px
}

.login-form .login-submit {
    float: right;
    height: 30px;
    line-height: 30px;
    vertical-align: middle;
    padding: 0 20px;
    border: 0;
    background-color: #ffa500;
    color: #fff;
}

.login-form .login-submit:hover {
    background-color: #e69500
}

.login-form .login-registration {
    margin-top: 15px;
    display: block;
    font-size: 12px;
    text-align: center
}

.content {
    width: 960px;
    padding: 20px 30px;
    margin: 0 auto
}

.form-field, .user-info-field {
    display: block;
    margin-bottom: 15px
}

.form-label, .user-info-label {
    padding-left: 10px;
    display: block;
    margin-bottom: 5px
}

.form-input, .user-info-input {
    padding-left: 10px;
    border-width: 0 0 1px;
    border-color: #888;
    background-color: transparent;
    width: 100%;
    font-family: 'Roboto Slab'
}

.form-submit, .user-info-submit {
    background-color: #ffa500;
    border: 0 none;
    color: #fff;
    height: 30px;
    line-height: 30px;
    padding: 0 20px;
    margin-left: 10px;
    vertical-align: middle;
    font-family: 'Roboto Slab' !important;
}

.form-submit:hover, .user-info-submit:hover {
    background-color: #e69500
}

.form-button, .user-info-change-password {
    background-color: #dadada;
    border: 0 none;
    color: #000;
    height: 30px;
    line-height: 30px;
    padding: 0 20px;
    margin-left: 10px;
    vertical-align: middle;
    font-family: 'Roboto Slab' !important;
}

.form-button:hover, .user-info-change-password:hover {
    background-color: #c4c4c4
}

.page-title {
    display: inline-block;
    margin-top: 0
}

.add-book-link {
    display: none;
    margin-left: 10px;
    vertical-align: top;
    font-size: 14px;
    text-decoration: none;
    border-bottom: 1px dashed #ffa500;
}

.add-book-link:hover {
    border-bottom: 1px dashed #d98c00
}

.add-book-form {
    display: none;
}

.add-book-form .add-book-label, .add-book-form .add-book-input {
    padding-left: 10px
}

.add-book-form .add-book-field {
    display: block;
    margin-bottom: 15px
}

.add-book-form .add-book-label {
    display: block;
    margin-bottom: 5px
}

.add-book-form .add-book-input {
    border-width: 0 0 1px;
    border-color: #888;
    background-color: transparent;
    width: 100%;
    font-family: 'Roboto Slab'
}

.add-book-form .add-book-submit {
    background-color: #ffa500;
    border: 0 none;
    color: #fff;
    height: 30px;
    line-height: 30px;
    padding: 0 20px;
    margin-left: 10px;
    vertical-align: middle;
    font-family: 'Roboto Slab';
}

.add-book-form .add-book-submit:hover {
    background-color: #e69500
}

.books-table {
    width: 100%
}

.registration-form .registration-label, .registration-form .registration-input {
    padding-left: 10px
}

.registration-form .registration-field {
    display: block;
    margin-bottom: 15px;
    width: 30%
}

.registration-form .registration-label {
    display: block;
    margin-bottom: 5px
}

.registration-form .registration-input {
    border-width: 0 0 1px;
    border-color: #888;
    width: 100%
}

.registration-form .registration-submit {
    background-color: #ffa500;
    border: 0 none;
    color: #fff;
    height: 30px;
    line-height: 30px;
    padding: 0 20px;
    margin-left: 10px;
    vertical-align: middle;
}

.registration-form .registration-submit:hover {
    background-color: #e69500
}

.title-date {
    font-weight: 400
}

.book-description {
    margin-bottom: 20px;
}

.book-description .book-data, .book-description .book-picture {
    display: inline-block;
    vertical-align: top
}

.book-description .book-picture {
    width: 300px;
    height: auto;
    margin-right: 21px
}

.book-description .book-data {
    margin-top: 0;
}

.book-description .book-data-element {
    list-style: none;
    margin-bottom: 10px
}

.book-description .book-data-list-title {
    display: block;
    font-weight: bold
}

.book-description .book-data-list-data {
    font-size: 125%
}

.comments .new-comment {
    margin-bottom: 10px;
}

.comments .new-comment-text, .comments .new-comment-submit {
    display: inline-block;
    vertical-align: bottom
}

.comments .new-comment-text {
    padding: 5px
}

.comments .new-comment-submit {
    background-color: #ffa500;
    border: 0 none;
    color: #fff;
    height: 30px;
    line-height: 30px;
    padding: 0 20px;
    margin-left: 10px;
    vertical-align: middle;
}

.comments .new-comment-submit:hover {
    background-color: #e69500
}

.comments .comment-list .single-comment {
    margin-top: 10px;
}

.comments .comment-list .single-comment .comment-image, .comments .comment-list .single-comment .comment-body {
    display: inline-block;
    vertical-align: top
}

.comments .comment-list .single-comment .comment-image {
    width: 48px;
    height: 48px;
    margin-right: 6px
}

.comments .comment-list .single-comment .comment-body {
    max-width: 500px
}

.comments .comment-list .single-comment .comment-author {
    font-size: 12px;
    line-height: 12px;
    vertical-align: top
}

.user-info {
    width: 400px;
}

.user-password {
    display: none
}

.footer {
    border-top: 1px solid #aaa;
    padding: 15px 20px
}

.choose-book-field{
    width: 100%;
}

.create-book-field {
    display: none;
}
.img-main{
    width: 200px;
}
.user-logout {
    float: right;
}
.user-name{
    float: right;
}
.error{
    color: red;
}